/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ssi.mrms.dao;

import com.ssi.mrms.model.DataTableModel;
import com.ssi.mrms.model.RMsreqhdr;
import java.util.List;
import java.util.Map;

/**
 * 
 * @author jirapatjantsakool
 */
public interface RequestDao {

	public List<RMsreqhdr> findAll();

	@Deprecated
	public List<Map<String, Object>> findAllMap();

	public RMsreqhdr findById(Integer id);

	public void create(RMsreqhdr rMaccr) throws Exception;

	public boolean update(RMsreqhdr rMaccr);

	public boolean delete(RMsreqhdr rMaccr);


	public DataTableModel<RMsreqhdr> findDataTable(RMsreqhdr model,
			int iDisplayStart, int iDisplayLength);

}
